package com.example.studentmanagement.mapper;

import com.example.studentmanagement.entity.Course;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CourseMapper {

    Course findById(Integer id);

    List<Course> findAll();

    void insert(Course course);

    void update(Course course);

    void deleteById(Integer id);
}
